if(top != self) top.location.replace(location);

$(function(){
	$("#loginform").validationEngine();
	
	$('.bottom').animate({'bottom':0},1500);
	function cctv(index){
		$('.banner li').eq(index).fadeIn(1500).siblings().fadeOut(1500);
	}
	$('.box').hover(function(){
		clearInterval(sid);
	},function(){
		sid = setInterval(play,2000);
	});
	var num = 0;
	var sid;
	function play(){
		if(num>3){
			num=0;
		}
		cctv(num);
		num++;
	}
	sid = setInterval(play,2000);
	
	$(".form-validation-field-0formError parentFormloginform formError").css({   
        "marginTop": 70,   
        "opacity": 0   
    });
});